﻿using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Web;
using Microsoft.Ajax.Utilities;
using MongoDB.Driver.GridFS;

namespace PicShare.Server.Repositories
{
    public interface IRepository<T>
    {
        void Add(T item);
        void Remove(T item);
        void Clear();
        IQueryable<T> GetAll();
        T Find(Func<T, bool> predicate);
        T Update(T item);
    }
}